FormData

public interface FormData implements UploadData

An upload data of the application/x-www-form-urlencoded content type.

Types

Link copied to clipboard
public final class Builder
A builder of FormData.
Link copied to clipboard
public interface Pair
A key-value pair that represents a segment of a form data, for example a form field content.

Functions

Link copied to clipboard
public Array<byte> bytes()
Returns an array containing the upload data bytes of the associated URL request.
Link copied to clipboard
Returns the content type of this upload data as specified in the Content-Type header.
Link copied to clipboard
Returns an immutable list of the key-value pairs each representing a segment of a form data or an empty list if the form does not contain any data.
Link copied to clipboard
public static FormData.Builder newBuilder()
Creates a new FormData builder.